package com.itfreer.data.general;

import java.util.HashMap;

/**
 * 类功能说明 表关联信息
 */
public class RelationInfo {

	/**
	 * 外键关系, key:当前表字段名 value:外表字段名
	 */
	public HashMap<String, String> Foreignkey;

	/**
	 * 关系类型
	 */
	public RelationType RelationType;

	public String metadataTableAliasName;

	public HashMap<String, String> getForeignkey() {
		return Foreignkey;
	}

	public void setForeignkey(HashMap<String, String> foreignkey) {
		Foreignkey = foreignkey;
	}

	public RelationType getRelationType() {
		return RelationType;
	}

	public void setRelationType(RelationType relationType) {
		RelationType = relationType;
	}

	public String getMetadataTableAliasName() {
		return metadataTableAliasName;
	}

	public void setMetadataTableAliasName(String metadataTableAliasName) {
		this.metadataTableAliasName = metadataTableAliasName;
	}
}